Extracting mover positions

Binder IPYNB HTML

The following examples show how to find a mover's position at a certain time or for a certain time span.

First, let's create a basic trajectory:

Extracting a mover's position at a certain time

When we call this method, the resulting point is directly rendered:

To see its coordinates, we can look at the print output:

The method parameter describes what the function should do if there is no entry in the trajectory GeoDataFrame for the specified timestamp.

For example, there is no entry at 2018-01-01 12:07:00

Extracting trajectory segments based on time

First, let's extract the trajectory segment for a certain time period:

Extracting trajectory segments based on geometry (i.e. clipping)

Now, let's extract the trajectory segment that intersects with a given polygon: